import dayjs from 'dayjs';
export const getInitDate = (format = 'YYYY-MM-DD') => {
  const end = dayjs().subtract(2, 'day').format(format);
  const start = dayjs(end).startOf('year');
  return [start, end]
}